
<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.onNetworkStatusChange(function (res) {
			    console.log(res.isConnected);
			    console.log(res.networkType);
				if(res.isConnected){
					let pages = getCurrentPages();
					    let curPage = pages[pages.length-1];
						curPage.onLoad()
				}
			});

		},
		onShow: function() {
			console.log('App Show')
			

		},
		onHide: function() {
			console.log('App Hide')
		},
		
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import 'static/css/FontStyle.css';
</style>
